home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / f90 / pxfsleep.z / pxfsleep
Text File  |  1998-10-30  |  3KB  |  72 lines

  1. PXFSLEEP(3F)                                          Last changed: 2-24-98
  2.  
  3.  
  4. NNAAMMEE
  5.      PPXXFFSSLLEEEEPP - Delays process execution
  6.  
  7. SSYYNNOOPPSSIISS
  8.      SSUUBBRROOUUTTIINNEE PPXXFFSSLLEEEEPP((_i_s_e_c_o_n_d_s,, _i_s_e_c_l_e_f_t,, _i_e_r_r_o_r))
  9.      IINNTTEEGGEERR _i_s_e_c_o_n_d_s,, _i_s_e_c_l_e_f_t,, ierror
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      The PPXXFFSSLLEEEEPP subroutine waits _i_s_e_c_o_n_d_s before generating a SSIIGGAALLRRMM
  16.      signal.  If a previous PPXXFFSSLLEEEEPP has time remaining, _i_s_e_c_l_e_f_t contains
  17.      the number of seconds until the signal SSIIGGAALLRRMM would have been
  18.      generated.
  19.  
  20.      The following is a list of arguments for this routine:
  21.  
  22.      _i_s_e_c_o_n_d_s  Default integer input variable containing the number of
  23.                real-time seconds to wait before sending the calling process
  24.                a SSIIGGAALLRRMM signal.
  25.  
  26.      _i_s_e_c_l_e_f_t  Default integer output variable containing the number of
  27.                seconds left until a previous request would have generated a
  28.                SSIIGGAALLRRMM signal.
  29.  
  30.      _i_e_r_r_o_r    Default integer output variable containing a status of zero
  31.                if PPXXFFSSLLEEEEPP was successful.
  32.  
  33.      On IRIX systems, this routine is in lliibbffoorrttrraann..ssoo which is linked by
  34.      default when compiling programs with the MIPSpro 7 Fortran 90 compiler
  35.      or when compiling programs with the --ccrraayylliibbss option to the MIPSpro
  36.      7.2 F77 compiler.
  37.  
  38.      When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
  39.      UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
  40.      kind unless documented otherwise.  On UNICOS and UNICOS/mk, default
  41.      kind is KKIINNDD==88 for integer, real, complex, and logical arguments; on
  42.      IRIX systems, the default kind is KKIINNDD==44.
  43.  
  44. NNOOTTEESS
  45.      Replace the use of the sslleeeepp(3C) function with the subroutine call to
  46.      PXFSLEEP().
  47.  
  48. EEXXAAMMPPLLEESS
  49.           program pxftest
  50.           integer iseconds, isecleft, ierror
  51.  
  52.           iseconds = 10
  53.           isecleft = 0
  54.           ierror = 0
  55.           CALL PXFSLEEP(iseconds, isecleft, ierror)
  56.           if (ierror .ne. 0) then
  57.              print *,'FAILED: PXFSLEEP call failed with error = ',ierror
  58.           else
  59.              print *,'PASSED: PXFSLEEP call returned no error'
  60.           endif
  61.           if (isecleft .ne. 0) then
  62.              print *,'FAILED: PXFSLEEP, isecleft not zero, =',isecleft
  63.           endif
  64.           end
  65.  
  66. SSEEEE AALLSSOO
  67.      aallaarrmm(2)
  68.      sslleeeepp(3C)
  69.  
  70.      _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication
  71.      SR-2165, for the printed version of this man page.
  72.